<%-- 
    Document   : FormJadwal
    Created on : Dec 4, 2011, 11:44:09 PM
    Author     : user
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@page import="Entities.*"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.util.GregorianCalendar"%>
<%@page import="java.util.Calendar"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Data Penyewa</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">    
    <div id="header">
        <h1>Sistem Pembantu Penjadwalan Studio Musik</h1> versi sesuatu.86
    </div>

    <div id="nav">
        <ul>
                <%Calendar calz = new GregorianCalendar();%>
            <li><a href="?action=menuUser&month=<%=calz.getTime().getMonth()+1%>&year=<%=calz.getTime().getYear()+1900%>"> Lihat Jadwal </a></li>
            <li><a href="?action=studio"> Tambah Studio</a></li>
            <li><a href="?action=logout"> Logout </a></li>
        </ul>
    </div>
    <div id="nav2">
        
        <a href="?action=menuUser">Home </a>
        
    </div>
    <br/>
    <div id="formSewa">
        <hr>
        <table width="100%">
        <form action="ControllerServlet" method="get">
            <input type="hidden" name="action" value="editStudio">
            <tr><td colspan="2"><hr><H3>DATA STUDIO</H3><HR></td>
                <td></td>
            </tr>
            <tr>
                <td colspan="2">
                    
                    
                    
                <% Studio studio=new Studio();
                   studio.getDataById(request.getParameter("idstudio"));%>
                  
                </td>
            </tr>
            <tr>  <td>ID_STUDIO : </td>      
                <td> <%=studio.getId_studio()%></td>    
                <input type="hidden" name="id_studio" value="<%=studio.getId_studio()%>">
            </tr>
            <tr>  <td>Jenis Studio: </td>      
                <td> <input type="text" value="<%=studio.getJenis_studio()%>" name="jenis_studio" class="input" id="input" size="25" maxlength="15"></td>    
            </tr>
            <tr>  <td>Harga Studio: </td>      
                <td> <input type="text" value="<%=studio.getHarga_sewa_studio()%>" name="harga_sewa_studio" class="input" id="input" size="25" maxlength="15"></td>    
            </tr>
            <tr>  <td>Detail     : </td>      
                <td> <input class="input" value="<%=studio.getDetail_studio()%>" id="input" type="textarea" name="detail_studio" size="25"></td>    
            </tr>
            <tr>
                <td>Status Studio : </td>
                
                <td><input type="radio" name="studio_status" value="active" checked>active</td>
                <td><input type="radio" name="studio_status" value="inactive">inactive</td>
                
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" value="Change"></td>
            </tr>
            
        </form>
    </div>
</div>

</body>
</html>
